package com.zte.market.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zte.market.model.Custom;
import com.zte.market.model.CustomCondition;
import com.zte.market.model.MarketOrderCondition;
import com.zte.market.model.MarketOrders;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface CustomDao extends BaseMapper<Custom> {
    List<Custom> queryCustomByCondition( CustomCondition condition);
    //根据服务人员来获取客户信息，管理员可以看到所有
    List<Custom> queryCustomByconditionAndUid(CustomCondition condition);
}
